/**
 * Copyright (c) 2015-2030 by Beijing Yanlight Co., Ltd.
 * All rights reserved.
 */
package com.yanlight.app.module.partner.response;

import java.util.ArrayList;
import java.util.List;

import com.yanlight.app.module.partner.model.PartnOrderSpec;
import com.yanlight.app.response.PageResponse;

/**
 * 
 * @author haolw
 * @time 2018/07/25
 */
public class PartnOrderListResponse extends PageResponse {
	private List<PartnOrderSpec> orders;

	public List<PartnOrderSpec> getOrders() {
		return orders;
	}

	public void setOrders(List<PartnOrderSpec> orders) {
		this.orders = orders;
	}

	public void addOrder(PartnOrderSpec order) {
		if (orders == null) {
			orders = new ArrayList<PartnOrderSpec>(8);
		}
		orders.add(order);
	}
}
